/* background setup */
.background {
    background-repeat:no-repeat;
    /* custom background-position */
    background-position:50% 50%;
    /* ie8- graceful degradation */
    background-position:50% 50%\9 !important;
}

html, body {
    height:100%;
    max-width: 3000px;
    margin: 0 auto;
    background-color: #f4f0ee;/* háttér */
    color: #787878;
    font-family: "HelveticaNeueLight";
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

#underline {
  text-decoration: none;
  color:rgb(139, 102, 22);
}

#underline:hover {
  color: rgb(199, 146, 31);
}

#myBtn { /*back to top*/
  font-weight: normal;
  display: none;
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 20px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgba(189, 145, 27, 0.733); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 18px 20px; /* Some padding */
  border-radius: 50%; /* Rounded corners */
  font-size: 24px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

#vetrite {font-size: 20px;
line-height: 30px;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

.container2 {
  max-width: 880px;
  min-width: 400px;
  height:auto;
  margin:0 auto;
  padding: 20px 60px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background-color:rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.fullscreen,
.content-a {
    width:100%;
    min-height:100%;
}

.fullscreen.not-overflow,
.fullscreen.not-overflow .content-a {
    height:100%;
    overflow:hidden;
}

/* content centering styles */

.content-a {
	display:table;
}

.content-b {
	display:table-cell;
  position:relative;
	vertical-align:middle;
	text-align:center;
}
/* trying */
.content-c {
	display:table-cell;
  position: relative;
  vertical-align: center;
  text-align: center;
  padding-bottom: auto;
}

.content-d {
	display:table-cell;
  position: relative;
  vertical-align: top;
	text-align:center;
  padding-bottom: auto;
}

/* visual styles */
section {
	background:#f8f6f2;
  color: #787878;
}
.not-fullscreen {
    height:auto;
    padding: 20px 0;
}

.container h2, .container2 h2 {
  margin-bottom: 30px;
  font-family: "HelveticaNeueLight";
  font-weight: normal;
  font-size: 32px;
  line-height: 38px;
  text-align: center;
}

.container h2 {
  color: #575757;
}

.container2 h2 {
  color: #ffffff;
}

.container h3, .container2 h3 {
  margin-bottom: 30px;
  font-family: "HelveticaNeueLight";
  font-weight: normal;
  font-size: 30px;
  line-height: 44px;
  text-align: center;
}

.container2 h3.right {
  text-align: right;
  float: right;
  width: 340px;
  margin-left: 60px;
  margin-top: 60px;
}

.container2 ul {
  margin-bottom: 30px;
  font-family: "HelveticaNeueLight";
  font-weight: normal;
  font-size: 30px;
  line-height: 44px;
  text-align: left;
  list-style:square;
  float: left;
}

.container ul {

  font-family: "HelveticaNeueLight";
  font-weight: normal;
  text-align: left;
  list-style:circle;
  float: left;
  font-size: 22px;
  padding: 0 20px 0 40px;
}

.container2 a {
  color: #ffffff;
  text-decoration: none;
  border-radius:0;
  padding: 12px 14px;
}

.container2 a:hover {
  text-decoration: none;
  background: #ffffff;
  color: #575757;
  padding: 12px 14px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
  opacity: 0.9;
}

.container p, .container2 p {
  margin:0;
  font-size: 22px;
  text-align: left;
  padding: 20px;
}

.container .referenciak {
  margin: 20px 0 40px 0;
  padding: 0;
  display: inline-block;
}

.container .referenciak img {
  margin: 0 auto;
  width: 50%;
  height: auto;
  padding: 0;
  float: left;
}

.container .referenciak img:hover {
  opacity: 0.7;
}

/* background images */

.first { background-image:url("../images/5.jpg"); }
.first1 { background-image:url("../images/7.jpg"); }
.second { background-image:url("../images/2.jpg"); }
.third { background-image:url("../images/3.jpg"); }
.fourth { background-image:url("../images/6.jpg"); }
.fifth  {background-image: url("../images/8.jpg");}
/*
.fifth { background-image:url("../images/5.jpg"); }
.sixth { background-image:url("../images/6.jpg"); }
.seventh { background-image:url("../images/7.jpg"); }
.eighth { background-image:url("../images/8.jpg"); }
*/

/* menu */
.menu-bar {
  display: inline-block;
  height: 120px;
  width:100%;
  background-color:rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
  top: 0;
}

#logo1 {
  width: 450px;
  height: 50px;
  margin: 0 0 0 20px;
  background: url("../images/logo.png") center top no-repeat;
  float: left;
}

#logo2
{
  display: none;
}

#menu
{
  padding: 5px 5px;
  width: 100%;
  height: 50px;
  margin: 35px 0 0 0;
}

#menu #items
{
  text-align: left;
  margin: 4px 20px 4px 0;
  display: inline-block;
  float: right;
  padding: 0;
  width: auto;
}

#menu #items a
{
  margin: 0;
  padding: 12px 14px;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  line-height: 17px;
  font-family: "HelveticaNeueRegular";
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0px;
  text-align: center;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
  float: left;
}

#menu #items a:hover { background: #ffffff; color: #575757; opacity:0.9; }

.footertext {
  color: #ffffff;
  text-decoration: none;
  font-size: 19px;
  line-height: 19px;
  font-family: "HelveticaNeueLight";
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0px;
  text-align: center;
  margin: 0;
  padding: 30px 0 0 0;
  width: 100%;
  border-top: 1px solid #ffffff;
}

/* retina */
@media (-webkit-min-device-pixel-ratio: 1.25), 
(min-device-pixel-ratio: 1.25), 
(min--moz-device-pixel-ratio: 1.25), 
(min-resolution: 120dpi) {
  #logo1
  {
    width: 450px;
    height: 50px;
    background: url("../images/logo@2x.png");
    background-size: 100%;
  }

}

/* mobile layout */

@media only screen and (max-width: 960px) {

  .menu-bar {
    height: 160px;
  }

  #logo1
  {
    margin: 30px auto 20px auto;
    float: none;
  }

  #menu
  {
    width: 100%;
    height: 50px;
    margin: 0 auto;
    padding: 0;
  }

  #menu #items
  {
    text-align: left;
    margin: 0 auto;
    float: none;
    padding: 0;
  }

  .container2 {
    min-width: 80%;
    width: 80%;
    height:auto;
    margin:0 auto;
    padding: 0;
  }

  .container p, .container2 p {
    padding: 20px;
  }

  .container2 h3.right {
    text-align: left;
    float: none;
    width: 80%;
    margin: 20px auto;
  }

  .container2 ul {
    margin: 20px auto;
    float: none;
    width: 80%;
  }

}

@media only screen and (max-width: 480px) {

  .menu-bar {
    height: 210px;
  }

  #menu
  {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  #menu #items
  {
    width: 100%;
  }

  #menu #items a
  {
  margin: 0 auto;
  padding: 15px 0;
  width: 50%;
  font-size: 20px;
  float: left;
  }

  .container2 {
    width: 100%;
  }

  .container .referenciak img {
    width: 100%;
  }

  #logo1 { display: none; }

  #logo2
  {
    width: 320px;
    height: 36px;
    background: url("../images/logo2@2x.png") center top no-repeat;
    background-size: 100%;
    float: none;
    display: inline-block;
    margin: 30px auto 20px auto;
  }

}
